/****************************************************************************
 * Copyright (c) 2023 Qualcomm Technologies International, Ltd.
****************************************************************************/
/**
 *
 * \defgroup @@@cap_name@@@
 * \file  @@@cap_name@@@_custom_op.h
 *
 * template for a custom operator header file
 *
 */
 /****************************************************************************/

#ifndef @@@cap_name^U@@@_CUSTOM_OP_H
#define @@@cap_name^U@@@_CUSTOM_OP_H

#include "layer_lite_kalimba.h"

/* Identifer of the custom operator */
#define CUSTOM_OP_ID 0xC001

/* input tensor count */
#define CUSTOM_OP_INPUT_TENSOR_COUNT (1)
/* output tensor count */
#define CUSTOM_OP_OUTPUT_TENSOR_COUNT (1)

/* Custom operator specific structure */
typedef struct CustomOp {
    unsigned dummy_parameter;
} CustomOp;

/**
 * \brief custom operator processing function
 *
 * \param kalimba layer_lite structure with input, output and custom op params
 *
 * \return ML_SUCCESS(0) if successfull, else ML_FAIL(1)
 */
int custom_op_forward(layer_lite *layer);

#endif /* @@@cap_name^U@@@_CUSTOM_OP_H */
